package com.itheima.spring.S;

import com.itheima.spring.DAO.DAO;
import com.itheima.spring.DAO.DAOImpl;

/**
 * @Author: Ethan Yankang
 * @Program: Interview
 * @Date: 2024-08-04 08:19
 **/
public class ServiceImpl implements Service {
    private DAO getDao=new DAOImpl();
    @Override
    public void userService() {
        System.out.println("这是S层，处理逻辑的，往下调用DAO持久化的");
        getDao.getDao();
    }
}
